<template>
  <el-tag :type="status === STATUS.LEARNING ? 'primary' : 'success'">
    {{ status }}
  </el-tag>
</template>

<script setup>
import {STATUS} from '../const'

defineProps({
  status: {
    type: String,
    required: true
  }
})
</script>
